function [ f ] = plotResponsiveness( data, description, electrodeLabels, frequenciesOfInterest )
%PLOTRESPONSIVENESS Plot the responsiveness

numberOfChannels = length(electrodeLabels);

f = figure('PaperOrientation','landscape','Colormap',[0 0 0.5625;0 0 0.625;0 0 0.6875;0 0 0.75;0 0 0.8125;0 0 0.875;0 0 0.9375;0 0 1;0 0.0625 1;0 0.125 1;0 0.1875 1;0 0.25 1;0 0.3125 1;0 0.375 1;0 0.4375 1;0 0.5 1;0 0.5625 1;0 0.625 1;0 0.6875 1;0 0.75 1;0 0.8125 1;0 0.875 1;0 0.9375 1;0 1 1;0.1429 1 1;0.2857 1 1;0.4286 1 1;0.5714 1 1;0.7143 1 1;0.8571 1 1;1 1 1;1 1 0.8889;1 1 0.7778;1 1 0.6667;1 1 0.5556;1 1 0.4444;1 1 0.3333;1 1 0.2222;1 1 0.1111;1 1 0;1 0.9375 0;1 0.875 0;1 0.8125 0;1 0.75 0;1 0.6875 0;1 0.625 0;1 0.5625 0;1 0.5 0;1 0.4375 0;1 0.375 0;1 0.3125 0;1 0.25 0;1 0.1875 0;1 0.125 0;1 0.0625 0;1 0 0;0.9375 0 0;0.875 0 0;0.8125 0 0;0.75 0 0;0.6875 0 0;0.625 0 0;0.5625 0 0;0.5 0 0]);
axes1 = axes('Parent', f, 'CLim', [-1 1], 'FontSize', 5, ...
    'XTickLabel', electrodeLabels, 'XTick', 1:numberOfChannels);
xlim(axes1, [0.5 numberOfChannels+0.5]);
step = (frequenciesOfInterest(2)-frequenciesOfInterest(1))/2;
ylim(axes1, [min(frequenciesOfInterest)-step max(frequenciesOfInterest)+step]);
hold(axes1,'all');
title(description, 'FontSize',12);
% xlabel('Electrode');
ylabel('Frequency');
image(1:numberOfChannels, frequenciesOfInterest, data,'Parent',axes1, 'CDataMapping','scaled');
colorbar('peer', axes1, 'YTickLabel', {'- 80%','- 60%','- 40%','- 20%', '0%','20%','40%','60%', '80%'}, 'YTick', -0.8:0.2:0.8);
xticklabel_rotate([], 90, electrodeLabels);

end

